﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Abp.Auditing;
using GN.Pay.Application.GatewayApp;

namespace GN.Pay.GatewayWeb.Controllers.PayRoute
{
    /// <summary>
    /// 微信扫码支付路油
    /// </summary>
    [PayRoute(WexXinQrCodePayActionRoute.Channel_Id)]
    class WexXinQrCodePayActionRoute : AQrCodePayActionRoute
    {
        public const string Channel_Id = "WeiXin.QRCode";

        public WexXinQrCodePayActionRoute(IClientInfoProvider clientInfo,
            ITradeApplyAppService service)
            : base(clientInfo, service)
        {
        }

        /// <summary>
        /// 通道Id
        /// </summary>
        public override string ChannelId
        {
            get
            {
                return Channel_Id;
            }
        }

        /// <summary>
        /// 视图名称
        /// </summary>
        protected override string ViewName
        {
            get
            {
                return "WeiXinQRPay";
            }
        }
    }
}